package group2assignone.ucm.manager;

import group2assignone.ucm.UCController;
import group2assignone.view.MainView;
import group2assignone.view.manager.ManagerView;

/**
 * use case to logout a manager
 * @author group2
 */
public class UCManagerLogout implements UCController {
    //private ManagerView manView = new ManagerView();


    @Override
    public void run() {
        ManagerView mv = ManagerView.getInstance();
        mv.setVisible(false);
        //Ask if they want to continue
        MainView gui = new MainView();
        gui.go();

    }
}
